package com.xunlai.infra.permission.business.vo.route;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.*;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author liang
 * @date 8/2/23 5:08 PM
 */

@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class RouteScheduleVo implements Serializable {

    @Serial
    private static final long serialVersionUID = -3529584672181706293L;

    public Integer scheduleOrder;

    public String scheduleCity;

    public String scheduleVehicle;

    public String scheduleTime;

    public String scheduleDistance;

    public String scheduleHotel;

    public String scheduleRepast;

    public String scheduleVideo;

    public String scheduleDetail;

    public static void main(String[] args) throws JsonProcessingException {
        RouteScheduleVo routeScheduleVo = new RouteScheduleVo();
        ObjectMapper objectMapper = new ObjectMapper();
        String s = objectMapper.writeValueAsString(routeScheduleVo);
        System.out.println(s);
    }
}
